package com.taotao.health.mapper;

import com.taotao.common.core.domain.Result;
import com.taotao.health.domain.vo.DoctorCreationsVO;
import com.taotao.health.domain.vo.DoctorsPatientVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CreateMapper {
    // 查询文章
    List<DoctorCreationsVO> selectDoctorDraft(Long doctorId);

    // 修改文章
    void updateArticleByIds(DoctorCreationsVO doctorCreationsVO);

    // 修改文章
    void updateDoctorConsultationReason(Integer id, Integer reason);

    // 根据id修改医生接诊状态
    void updateDoctorConsultationStatus(Integer id);

    // 根据id查询文章详情
    List<DoctorCreationsVO> selectArticleById(Integer creationId);


    // 删除文章
    void deleteArticleById(Integer creationId);
    //查询医生手下的患者信息
    List<DoctorsPatientVO> selectDoctorPatient(Long doctorId);

    List<DoctorCreationsVO> All(DoctorCreationsVO doctorCreationsVO);

    List<DoctorCreationsVO> selectDoctorArticle(Long doctorId);

    void increaseArticle(DoctorCreationsVO doctorCreationsVO);
}
